import { Connector } from "cax-connector"

export function mouseWheel(connector: Connector, ev: WheelEvent) {
    connector.client.emit("MouseWheel", {
        x: ev.offsetX,
        y: ev.offsetY,
        dx: ev.deltaX,
        dy: ev.deltaY,
    })
}
